#include "ogl/gut/Mesh.h"
#include "ogl/gut/Dictionary.h"
#include "imgui/custom/Editor.h"

using namespace Ogl::Gut;




template <>
bool ImGui::Editor::Edit(const std::string& label, Ogl::Gut::Mesh& inst)
{
    int index = 0;

    if (TreeNode(label.c_str(), inst.m_BitFlag, index++))
    {
        EditInst<Ogl::Gut::MeshDesc>("Desc", inst.m_Desc);
        EditInst<Ogl::Gut::VertexArray>("Vertex Array", inst);
        TreePop();

    }

    return false;
}


